package rladidxo.basic;

public class J01_Department {
	public static void main(String[] args) {
		//1. 변수 선언 및 초기화
		String departname;
		String departtel;
		String departloc;
		String departchief;
		
		departname = "컴퓨터 공학";
		departtel = "123-4567-8901";
		departloc = "E동 2층";
		departchief = "504";
		
		//2. 처리
		//3. 결과 출력
		System.out.println("학과명\t전화번호		사무실 위치	학과장");
		System.out.println("----------------------------------");
		System.out.print(departname);
		System.out.print("\t"+departtel);
		System.out.print("\t"+departloc);
		System.out.println("\t"+departchief);
		String departname1;
		String departtel1;
		String departloc1;
		String departchief1;
		
		departname1 = "의상디자인";
		departtel1 = "234-5678-9012";
		departloc1 = "A동 1층";
		departchief1 = "301";
		
		//2. 처리
		//3. 결과 출력

		System.out.print(departname1);
		System.out.print("\t"+departtel1);
		System.out.print("\t"+departloc1);
		System.out.println("\t"+departchief1);
		String departname2;
		String departtel2;
		String departloc2;
		String departchief2;
		
		departname2 = "식품영양";
		departtel2 = "345-6789-0123";
		departloc2 = "F동 8층";
		departchief2 = "556";
		
		//2. 처리
		//3. 결과 출력

		System.out.print(departname2);
		System.out.print("\t"+departtel2);
		System.out.print("\t"+departloc2);
		System.out.println("\t"+departchief2);
		String departname3;
		String departtel3;
		String departloc3;
		String departchief3;
		
		departname3 = "철학";
		departtel3 = "345-6789-0123";
		departloc3 = "Z동 25층";
		departchief3 = "504";
		
		//2. 처리
		//3. 결과 출력
		
		System.out.print(departname3);
		System.out.print("\t"+departtel3);
		System.out.print("\t"+departloc3);
		System.out.println("\t"+departchief3);
		

		System.out.println();
		System.out.println();
		System.out.println("학과명	전화번호			사무실 위치		학과장");
		System.out.println("컴퓨터공학	123-4567-8901		E동 2층 		504");
		System.out.println("의상디자인	234-5678-9012		A동 1층 		301");
		System.out.println("식품영양	345-6789-0123		F동 8층 		556");
		System.out.println("철학	456-7890-1234		Z동 25층	 	504");
	}

}
